<div class="body">
    <div class="xinyonghu">
        <i class="ilogo">注册新用户</i>
        <div class="fr" (click)="goLogin()">登录</div>
    </div>
    <div class="loginBox">
        <p>REGISTER</p>
        <form action="../intelligent-shopping/my" class="form">
            <input [(ngModel)]="username" type="text" placeholder="请输入用户名" id="username" name="username" required  class="userName"/>
            <input [(ngModel)]="password" type="password" placeholder="请输入密码" id="password" name="password" required class="passWord">
            <input [(ngModel)]="repassword"type="password" placeholder="请再次输入密码" id="password" name="password" required class="passWord">
            <br>
            <input (click)="register()" type="submit" value="注册" class="loginBtn">
        </form>
        <div class="agree">
            <input type="checkbox" name="" id="">我已阅读并同意注册协议
            <a href="#" class="xieyi">
                《注册协议》
            </a>
        </div>
        <!-- <a (click)="goLogin()" class="wancheng">完成注册</a> -->
    </div>
    <!-- 底部 -->
    <div class="foots">
        <div>
            关于我们 | 联系我们 | 联系客服 
        </div>
    </div>
</div>

